home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gxcoord.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  1.6 KB  |  40 lines

  1. /* Copyright (C) 1994 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gxcoord.h,v 1.2 2000/09/19 19:00:35 lpd Exp $ */
  20. /* Internal graphics state CTM procedures */
  21. /* Requires gxmatrix.h and gzstate.h */
  22.  
  23. #ifndef gxcoord_INCLUDED
  24. #  define gxcoord_INCLUDED
  25.  
  26. #include "gscoord.h"
  27.  
  28. /* Set the translation to a fixed value, and translate any existing path. */
  29. /* Used by gschar.c to prepare for a BuildChar or BuildGlyph procedure. */
  30. int gx_translate_to_fixed(P3(gs_state *, fixed, fixed));
  31.  
  32. /* Scale the CTM and character matrix for oversampling. */
  33. int gx_scale_char_matrix(P3(gs_state *, int, int));
  34.  
  35. /* Compute the coefficients for fast fixed-point distance transformations */
  36. /* from a transformation matrix. */
  37. int gx_matrix_to_fixed_coeff(P3(const gs_matrix *, fixed_coeff *, int));
  38.  
  39. #endif /* gxcoord_INCLUDED */
  40.